import { api } from '../boot/axios'

export function getAllUser() {
    return api.get('/user/getall')
}

export function addUser(params) {
    return api({
        url: '/user/adduser',
        method: 'post',
        data: params
    })
}